.class public abstract Lcom/esfile/screen/recorder/videos/edit/activities/VideoEditWithPlayerActivity;
.super Lcom/esfile/screen/recorder/base/BaseActivity;
.source "VideoEditWithPlayerActivity.java"


# instance fields
.field private a:Ljava/lang/String;

.field private b:Landroid/view/ViewGroup;

.field private c:Landroid/view/View;

.field private d:Lcom/esfile/screen/recorder/videos/edit/player/VideoEditPlayer;

.field private e:Landroid/widget/FrameLayout;

.field private f:Landroid/widget/FrameLayout;

.field private g:Landroid/widget/TextView;

.field private h:Landroid/view/View$OnClickListener;

.field private i:Z

.field private final j:Lcom/esfile/screen/recorder/videos/edit/activities/speed/b;

.field private k:Z

.field private l:I


# direct methods
.method public constructor <init>()V
    .locals 2

    .line 1
    invoke-direct {p0}, Lcom/esfile/screen/recorder/base/BaseActivity;-><init>()V

    .line 2
    new-instance v0, Lcom/esfile/screen/recorder/videos/edit/activities/VideoEditWithPlayerActivity$a;

    invoke-direct {v0, p0}, Lcom/esfile/screen/recorder/videos/edit/activities/VideoEditWithPlayerActivity$a;-><init>(Lcom/esfile/screen/recorder/videos/edit/activities/VideoEditWithPlayerActivity;)V

    iput-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/VideoEditWithPlayerActivity;->h:Landroid/view/View$OnClickListener;

    const/4 v0, 0x1

    .line 3
    iput-boolean v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/VideoEditWithPlayerActivity;->i:Z

    .line 4
    new-instance v1, Lcom/esfile/screen/recorder/videos/edit/activities/speed/b;

    invoke-direct {v1}, Lcom/esfile/screen/recorder/videos/edit/activities/speed/b;-><init>()V

    iput-object v1, p0, Lcom/esfile/screen/recorder/videos/edit/activities/VideoEditWithPlayerActivity;->j:Lcom/esfile/screen/recorder/videos/edit/activities/speed/b;

    .line 5
    iput-boolean v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/VideoEditWithPlayerActivity;->k:Z

    return-void
.end method

.method private I()Z
    .locals 4

    .line 1
    invoke-virtual {p0}, Landroid/app/Activity;->getIntent()Landroid/content/Intent;

    move-result-object v0

    const-string v1, "extra_video_path"

    .line 2
    invoke-virtual {v0, v1}, Landroid/content/Intent;->getStringExtra(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    .line 3
    invoke-static {v1}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v2

    const/4 v3, 0x0

    if-eqz v2, :cond_0

    return v3

    .line 4
    :cond_0
    invoke-virtual {p0, v0}, Lcom/esfile/screen/recorder/videos/edit/activities/VideoEditWithPlayerActivity;->a(Landroid/content/Intent;)Z

    move-result v0

    if-nez v0, :cond_1

    return v3

    .line 5
    :cond_1
    iput-object v1, p0, Lcom/esfile/screen/recorder/videos/edit/activities/VideoEditWithPlayerActivity;->a:Ljava/lang/String;

    const/4 v0, 0x1

    return v0
.end method

.method private J()V
    .locals 2

    .line 1
    sget v0, Les/x4;->durec_title:I

    invoke-virtual {p0, v0}, Landroidx/appcompat/app/AppCompatActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    .line 2
    invoke-virtual {p0}, Lcom/esfile/screen/recorder/videos/edit/activities/VideoEditWithPlayerActivity;->y()I

    move-result v1

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(I)V

    .line 3
    sget v0, Les/x4;->durec_back:I

    invoke-virtual {p0, v0}, Landroidx/appcompat/app/AppCompatActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    .line 4
    iget-object v1, p0, Lcom/esfile/screen/recorder/videos/edit/activities/VideoEditWithPlayerActivity;->h:Landroid/view/View$OnClickListener;

    invoke-virtual {v0, v1}, Landroid/view/View;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 5
    sget v0, Les/x4;->durec_save:I

    invoke-virtual {p0, v0}, Landroidx/appcompat/app/AppCompatActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/VideoEditWithPlayerActivity;->g:Landroid/widget/TextView;

    const/4 v1, 0x0

    .line 6
    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setVisibility(I)V

    .line 7
    invoke-virtual {p0}, Lcom/esfile/screen/recorder/videos/edit/activities/VideoEditWithPlayerActivity;->x()I

    move-result v0

    invoke-virtual {p0, v0}, Landroid/app/Activity;->getString(I)Ljava/lang/String;

    move-result-object v0

    .line 8
    iget-object v1, p0, Lcom/esfile/screen/recorder/videos/edit/activities/VideoEditWithPlayerActivity;->g:Landroid/widget/TextView;

    invoke-virtual {v1, v0}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 9
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/VideoEditWithPlayerActivity;->g:Landroid/widget/TextView;

    iget-object v1, p0, Lcom/esfile/screen/recorder/videos/edit/activities/VideoEditWithPlayerActivity;->h:Landroid/view/View$OnClickListener;

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    return-void
.end method

.method private K()V
    .locals 2

    .line 1
    sget v0, Les/x4;->edit_video_player:I

    invoke-virtual {p0, v0}, Landroidx/appcompat/app/AppCompatActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Lcom/esfile/screen/recorder/videos/edit/player/VideoEditPlayer;

    iput-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/VideoEditWithPlayerActivity;->d:Lcom/esfile/screen/recorder/videos/edit/player/VideoEditPlayer;

    const/4 v1, 0x0

    .line 2
    invoke-virtual {v0, v1}, Lcom/esfile/screen/recorder/videos/edit/player/VideoEditPlayer;->b(Z)V

    .line 3
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/VideoEditWithPlayerActivity;->d:Lcom/esfile/screen/recorder/videos/edit/player/VideoEditPlayer;

    invoke-virtual {v0, v1}, Lcom/esfile/screen/recorder/player/h;->a(Z)V

    .line 4
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/VideoEditWithPlayerActivity;->d:Lcom/esfile/screen/recorder/videos/edit/player/VideoEditPlayer;

    new-instance v1, Lcom/esfile/screen/recorder/videos/edit/activities/VideoEditWithPlayerActivity$b;

    invoke-direct {v1, p0}, Lcom/esfile/screen/recorder/videos/edit/activities/VideoEditWithPlayerActivity$b;-><init>(Lcom/esfile/screen/recorder/videos/edit/activities/VideoEditWithPlayerActivity;)V

    invoke-virtual {v0, v1}, Lcom/esfile/screen/recorder/videos/edit/player/c;->a(Lcom/esfile/screen/recorder/player/exo/a$g;)V

    .line 5
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/VideoEditWithPlayerActivity;->d:Lcom/esfile/screen/recorder/videos/edit/player/VideoEditPlayer;

    new-instance v1, Lcom/esfile/screen/recorder/videos/edit/activities/VideoEditWithPlayerActivity$c;

    invoke-direct {v1, p0}, Lcom/esfile/screen/recorder/videos/edit/activities/VideoEditWithPlayerActivity$c;-><init>(Lcom/esfile/screen/recorder/videos/edit/activities/VideoEditWithPlayerActivity;)V

    invoke-virtual {v0, v1}, Lcom/esfile/screen/recorder/videos/edit/player/c;->a(Lcom/esfile/screen/recorder/player/exo/a$c;)V

    .line 6
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/VideoEditWithPlayerActivity;->d:Lcom/esfile/screen/recorder/videos/edit/player/VideoEditPlayer;

    new-instance v1, Lcom/esfile/screen/recorder/videos/edit/activities/VideoEditWithPlayerActivity$d;

    invoke-direct {v1, p0}, Lcom/esfile/screen/recorder/videos/edit/activities/VideoEditWithPlayerActivity$d;-><init>(Lcom/esfile/screen/recorder/videos/edit/activities/VideoEditWithPlayerActivity;)V

    invoke-virtual {v0, v1}, Lcom/esfile/screen/recorder/videos/edit/player/c;->a(Lcom/esfile/screen/recorder/player/exo/a$d;)V

    return-void
.end method

.method private L()V
    .locals 2

    .line 1
    sget v0, Les/x4;->root:I

    invoke-virtual {p0, v0}, Landroidx/appcompat/app/AppCompatActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/view/ViewGroup;

    iput-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/VideoEditWithPlayerActivity;->b:Landroid/view/ViewGroup;

    .line 2
    sget v0, Les/x4;->edit_video_loading:I

    invoke-virtual {p0, v0}, Landroidx/appcompat/app/AppCompatActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    iput-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/VideoEditWithPlayerActivity;->c:Landroid/view/View;

    const/4 v1, 0x0

    .line 3
    invoke-virtual {v0, v1}, Landroid/view/View;->setVisibility(I)V

    .line 4
    invoke-direct {p0}, Lcom/esfile/screen/recorder/videos/edit/activities/VideoEditWithPlayerActivity;->J()V

    .line 5
    invoke-direct {p0}, Lcom/esfile/screen/recorder/videos/edit/activities/VideoEditWithPlayerActivity;->K()V

    .line 6
    invoke-virtual {p0}, Lcom/esfile/screen/recorder/videos/edit/activities/VideoEditWithPlayerActivity;->B()V

    .line 7
    sget v0, Les/x4;->edit_video_tools_panel:I

    invoke-virtual {p0, v0}, Landroidx/appcompat/app/AppCompatActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/FrameLayout;

    iput-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/VideoEditWithPlayerActivity;->e:Landroid/widget/FrameLayout;

    .line 8
    sget v0, Les/x4;->edit_video_extra_container:I

    invoke-virtual {p0, v0}, Landroidx/appcompat/app/AppCompatActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/FrameLayout;

    iput-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/VideoEditWithPlayerActivity;->f:Landroid/widget/FrameLayout;

    return-void
.end method

.method private M()V
    .locals 1

    .line 1
    new-instance v0, Lcom/esfile/screen/recorder/videos/edit/activities/VideoEditWithPlayerActivity$g;

    invoke-direct {v0, p0}, Lcom/esfile/screen/recorder/videos/edit/activities/VideoEditWithPlayerActivity$g;-><init>(Lcom/esfile/screen/recorder/videos/edit/activities/VideoEditWithPlayerActivity;)V

    invoke-static {v0}, Les/xc;->a(Ljava/lang/Runnable;)V

    return-void
.end method

.method private N()V
    .locals 4

    .line 1
    new-instance v0, Lcom/esfile/screen/recorder/ui/a;

    invoke-direct {v0, p0}, Lcom/esfile/screen/recorder/ui/a;-><init>(Landroid/content/Context;)V

    const/4 v1, 0x0

    .line 2
    invoke-virtual {v0, v1}, Lcom/esfile/screen/recorder/ui/a;->b(Z)V

    .line 3
    invoke-virtual {v0, v1}, Lcom/esfile/screen/recorder/ui/a;->a(Z)V

    .line 4
    invoke-virtual {p0}, Landroid/app/Activity;->getApplicationContext()Landroid/content/Context;

    move-result-object v1

    .line 5
    invoke-static {v1}, Landroid/view/LayoutInflater;->from(Landroid/content/Context;)Landroid/view/LayoutInflater;

    move-result-object v1

    sget v2, Les/y4;->durec_emoji_dialog_layout:I

    const/4 v3, 0x0

    .line 6
    invoke-virtual {v1, v2, v3}, Landroid/view/LayoutInflater;->inflate(ILandroid/view/ViewGroup;)Landroid/view/View;

    move-result-object v1

    .line 7
    sget v2, Les/x4;->emoji_icon:I

    invoke-virtual {v1, v2}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v2

    check-cast v2, Landroid/widget/ImageView;

    .line 8
    sget v3, Les/w4;->durec_share_guide_dialog_img:I

    invoke-virtual {v2, v3}, Landroid/widget/ImageView;->setImageResource(I)V

    .line 9
    sget v2, Les/x4;->emoji_title:I

    invoke-virtual {v1, v2}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v2

    const/16 v3, 0x8

    invoke-virtual {v2, v3}, Landroid/view/View;->setVisibility(I)V

    .line 10
    sget v2, Les/x4;->emoji_message:I

    invoke-virtual {v1, v2}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v2

    check-cast v2, Landroid/widget/TextView;

    .line 11
    sget v3, Les/z4;->durec_cut_save_query:I

    invoke-virtual {v2, v3}, Landroid/widget/TextView;->setText(I)V

    .line 12
    invoke-virtual {v0, v1}, Lcom/esfile/screen/recorder/ui/a;->a(Landroid/view/View;)V

    .line 13
    sget v1, Les/z4;->durec_common_save:I

    new-instance v2, Lcom/esfile/screen/recorder/videos/edit/activities/VideoEditWithPlayerActivity$h;

    invoke-direct {v2, p0}, Lcom/esfile/screen/recorder/videos/edit/activities/VideoEditWithPlayerActivity$h;-><init>(Lcom/esfile/screen/recorder/videos/edit/activities/VideoEditWithPlayerActivity;)V

    invoke-virtual {v0, v1, v2}, Lcom/esfile/screen/recorder/ui/a;->b(ILandroid/content/DialogInterface$OnClickListener;)V

    .line 14
    sget v1, Les/z4;->durec_cut_save_query_giveup:I

    new-instance v2, Lcom/esfile/screen/recorder/videos/edit/activities/VideoEditWithPlayerActivity$i;

    invoke-direct {v2, p0}, Lcom/esfile/screen/recorder/videos/edit/activities/VideoEditWithPlayerActivity$i;-><init>(Lcom/esfile/screen/recorder/videos/edit/activities/VideoEditWithPlayerActivity;)V

    invoke-virtual {v0, v1, v2}, Lcom/esfile/screen/recorder/ui/a;->a(ILandroid/content/DialogInterface$OnClickListener;)V

    const/4 v1, 0x1

    .line 15
    invoke-virtual {v0, v1}, Landroid/app/Dialog;->setCanceledOnTouchOutside(Z)V

    .line 16
    invoke-virtual {v0}, Lcom/esfile/screen/recorder/ui/a;->show()V

    return-void
.end method

.method private O()V
    .locals 6

    .line 1
    invoke-static {}, Les/dd;->a()Les/cd;

    move-result-object v0

    .line 2
    iget-object v1, v0, Les/cd;->b:Les/cd$s;

    const-wide/16 v2, 0x0

    if-eqz v1, :cond_0

    iget-wide v4, v1, Les/cd$s;->a:J

    cmp-long v1, v4, v2

    if-ltz v1, :cond_0

    .line 3
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/VideoEditWithPlayerActivity;->d:Lcom/esfile/screen/recorder/videos/edit/player/VideoEditPlayer;

    long-to-int v1, v4

    invoke-virtual {v0, v1}, Lcom/esfile/screen/recorder/videos/edit/player/c;->c(I)V

    goto :goto_0

    .line 4
    :cond_0
    iget-object v0, v0, Les/cd;->c:Les/cd$m;

    if-eqz v0, :cond_1

    .line 5
    iget-wide v4, v0, Les/cd$m;->a:J

    cmp-long v1, v4, v2

    if-gtz v1, :cond_1

    .line 6
    iget-object v1, p0, Lcom/esfile/screen/recorder/videos/edit/activities/VideoEditWithPlayerActivity;->d:Lcom/esfile/screen/recorder/videos/edit/player/VideoEditPlayer;

    iget-wide v2, v0, Les/cd$m;->b:J

    long-to-int v0, v2

    invoke-virtual {v1, v0}, Lcom/esfile/screen/recorder/videos/edit/player/c;->c(I)V

    :cond_1
    :goto_0
    return-void
.end method

.method private P()V
    .locals 6

    .line 1
    invoke-virtual {p0}, Landroid/app/Activity;->isDestroyed()Z

    move-result v0

    if-eqz v0, :cond_0

    return-void

    :cond_0
    const v0, 0x1040011

    .line 2
    new-instance v1, Lcom/esfile/screen/recorder/ui/a;

    invoke-direct {v1, p0}, Lcom/esfile/screen/recorder/ui/a;-><init>(Landroid/content/Context;)V

    const/4 v2, 0x0

    .line 3
    invoke-virtual {v1, v2}, Lcom/esfile/screen/recorder/ui/a;->b(Z)V

    .line 4
    invoke-virtual {v1, v2}, Lcom/esfile/screen/recorder/ui/a;->a(Z)V

    .line 5
    invoke-virtual {p0}, Landroid/app/Activity;->getApplicationContext()Landroid/content/Context;

    move-result-object v3

    .line 6
    invoke-static {v3}, Landroid/view/LayoutInflater;->from(Landroid/content/Context;)Landroid/view/LayoutInflater;

    move-result-object v3

    sget v4, Les/y4;->durec_emoji_dialog_layout:I

    const/4 v5, 0x0

    .line 7
    invoke-virtual {v3, v4, v5}, Landroid/view/LayoutInflater;->inflate(ILandroid/view/ViewGroup;)Landroid/view/View;

    move-result-object v3

    .line 8
    sget v4, Les/x4;->emoji_icon:I

    invoke-virtual {v3, v4}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v4

    check-cast v4, Landroid/widget/ImageView;

    .line 9
    sget v5, Les/w4;->durec_system_lacked_dialog_warn:I

    invoke-virtual {v4, v5}, Landroid/widget/ImageView;->setImageResource(I)V

    .line 10
    sget v4, Les/x4;->emoji_title:I

    invoke-virtual {v3, v4}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v4

    const/16 v5, 0x8

    invoke-virtual {v4, v5}, Landroid/view/View;->setVisibility(I)V

    .line 11
    sget v4, Les/x4;->emoji_message:I

    invoke-virtual {v3, v4}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v4

    check-cast v4, Landroid/widget/TextView;

    .line 12
    invoke-virtual {v4, v0}, Landroid/widget/TextView;->setText(I)V

    .line 13
    invoke-virtual {v1, v3}, Lcom/esfile/screen/recorder/ui/a;->a(Landroid/view/View;)V

    const v0, 0x1040010

    .line 14
    new-instance v3, Lcom/esfile/screen/recorder/videos/edit/activities/VideoEditWithPlayerActivity$e;

    invoke-direct {v3, p0}, Lcom/esfile/screen/recorder/videos/edit/activities/VideoEditWithPlayerActivity$e;-><init>(Lcom/esfile/screen/recorder/videos/edit/activities/VideoEditWithPlayerActivity;)V

    invoke-virtual {v1, v0, v3}, Lcom/esfile/screen/recorder/ui/a;->b(ILandroid/content/DialogInterface$OnClickListener;)V

    .line 15
    new-instance v0, Lcom/esfile/screen/recorder/videos/edit/activities/VideoEditWithPlayerActivity$f;

    invoke-direct {v0, p0}, Lcom/esfile/screen/recorder/videos/edit/activities/VideoEditWithPlayerActivity$f;-><init>(Lcom/esfile/screen/recorder/videos/edit/activities/VideoEditWithPlayerActivity;)V

    invoke-virtual {v1, v0}, Lcom/esfile/screen/recorder/ui/a;->setOnDismissListener(Landroid/content/DialogInterface$OnDismissListener;)V

    .line 16
    invoke-virtual {v1, v2}, Landroid/app/Dialog;->setCanceledOnTouchOutside(Z)V

    .line 17
    invoke-virtual {v1}, Lcom/esfile/screen/recorder/ui/a;->show()V

    return-void
.end method

.method static synthetic a(Lcom/esfile/screen/recorder/videos/edit/activities/VideoEditWithPlayerActivity;)Landroid/view/View;
    .locals 0

    .line 1
    iget-object p0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/VideoEditWithPlayerActivity;->c:Landroid/view/View;

    return-object p0
.end method

.method static synthetic b(Lcom/esfile/screen/recorder/videos/edit/activities/VideoEditWithPlayerActivity;)Lcom/esfile/screen/recorder/videos/edit/player/VideoEditPlayer;
    .locals 0

    .line 1
    iget-object p0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/VideoEditWithPlayerActivity;->d:Lcom/esfile/screen/recorder/videos/edit/player/VideoEditPlayer;

    return-object p0
.end method

.method static synthetic c(Lcom/esfile/screen/recorder/videos/edit/activities/VideoEditWithPlayerActivity;)Z
    .locals 0

    .line 1
    iget-boolean p0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/VideoEditWithPlayerActivity;->i:Z

    return p0
.end method

.method static synthetic d(Lcom/esfile/screen/recorder/videos/edit/activities/VideoEditWithPlayerActivity;)Ljava/lang/String;
    .locals 0

    .line 1
    iget-object p0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/VideoEditWithPlayerActivity;->a:Ljava/lang/String;

    return-object p0
.end method

.method static synthetic e(Lcom/esfile/screen/recorder/videos/edit/activities/VideoEditWithPlayerActivity;)Lcom/esfile/screen/recorder/videos/edit/activities/speed/b;
    .locals 0

    .line 1
    iget-object p0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/VideoEditWithPlayerActivity;->j:Lcom/esfile/screen/recorder/videos/edit/activities/speed/b;

    return-object p0
.end method

.method static synthetic f(Lcom/esfile/screen/recorder/videos/edit/activities/VideoEditWithPlayerActivity;)V
    .locals 0

    .line 1
    invoke-direct {p0}, Lcom/esfile/screen/recorder/videos/edit/activities/VideoEditWithPlayerActivity;->P()V

    return-void
.end method

.method static synthetic g(Lcom/esfile/screen/recorder/videos/edit/activities/VideoEditWithPlayerActivity;)V
    .locals 0

    .line 1
    invoke-direct {p0}, Lcom/esfile/screen/recorder/videos/edit/activities/VideoEditWithPlayerActivity;->O()V

    return-void
.end method


# virtual methods
.method public A()V
    .locals 2

    .line 1
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/VideoEditWithPlayerActivity;->f:Landroid/widget/FrameLayout;

    invoke-virtual {v0}, Landroid/widget/FrameLayout;->getVisibility()I

    move-result v0

    if-nez v0, :cond_0

    .line 2
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/VideoEditWithPlayerActivity;->f:Landroid/widget/FrameLayout;

    const/16 v1, 0x8

    invoke-virtual {v0, v1}, Landroid/widget/FrameLayout;->setVisibility(I)V

    :cond_0
    return-void
.end method

.method protected B()V
    .locals 2

    .line 1
    invoke-virtual {p0}, Lcom/esfile/screen/recorder/videos/edit/activities/VideoEditWithPlayerActivity;->z()Lcom/esfile/screen/recorder/videos/edit/player/VideoEditPlayer;

    move-result-object v0

    const/16 v1, 0xe

    invoke-virtual {v0, v1}, Lcom/esfile/screen/recorder/videos/edit/player/c;->setTimeRenderFlags(I)V

    return-void
.end method

.method protected abstract C()Z
.end method

.method protected D()Z
    .locals 1

    const/4 v0, 0x1

    return v0
.end method

.method protected E()I
    .locals 1

    const/4 v0, 0x2

    return v0
.end method

.method protected abstract F()V
.end method

.method protected G()V
    .locals 1

    .line 1
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/VideoEditWithPlayerActivity;->d:Lcom/esfile/screen/recorder/videos/edit/player/VideoEditPlayer;

    invoke-virtual {v0}, Lcom/esfile/screen/recorder/videos/edit/player/c;->l()V

    return-void
.end method

.method public H()V
    .locals 2

    .line 1
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/VideoEditWithPlayerActivity;->f:Landroid/widget/FrameLayout;

    invoke-virtual {v0}, Landroid/widget/FrameLayout;->getVisibility()I

    move-result v0

    if-eqz v0, :cond_0

    .line 2
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/VideoEditWithPlayerActivity;->f:Landroid/widget/FrameLayout;

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Landroid/widget/FrameLayout;->setVisibility(I)V

    :cond_0
    return-void
.end method

.method protected abstract a(Lcom/esfile/screen/recorder/videos/edit/player/VideoEditPlayer;)V
.end method

.method protected a(Lcom/esfile/screen/recorder/videos/edit/player/VideoEditPlayer;Ljava/lang/Exception;)V
    .locals 0

    return-void
.end method

.method protected a(Landroid/content/Intent;)Z
    .locals 0

    const/4 p1, 0x1

    return p1
.end method

.method protected b(Lcom/esfile/screen/recorder/videos/edit/player/VideoEditPlayer;)V
    .locals 0

    return-void
.end method

.method protected b(Ljava/lang/String;)Z
    .locals 0

    const/4 p1, 0x1

    return p1
.end method

.method protected c(Lcom/esfile/screen/recorder/videos/edit/player/VideoEditPlayer;)V
    .locals 0

    return-void
.end method

.method protected f(I)V
    .locals 1

    .line 3
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/VideoEditWithPlayerActivity;->d:Lcom/esfile/screen/recorder/videos/edit/player/VideoEditPlayer;

    invoke-virtual {v0, p1}, Lcom/esfile/screen/recorder/videos/edit/player/c;->c(I)V

    return-void
.end method

.method protected f(Z)V
    .locals 0

    .line 2
    iput-boolean p1, p0, Lcom/esfile/screen/recorder/videos/edit/activities/VideoEditWithPlayerActivity;->i:Z

    return-void
.end method

.method public g(I)V
    .locals 3

    .line 4
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/VideoEditWithPlayerActivity;->f:Landroid/widget/FrameLayout;

    invoke-virtual {v0}, Landroid/widget/FrameLayout;->removeAllViews()V

    .line 5
    invoke-static {p0}, Landroid/view/LayoutInflater;->from(Landroid/content/Context;)Landroid/view/LayoutInflater;

    move-result-object v0

    iget-object v1, p0, Lcom/esfile/screen/recorder/videos/edit/activities/VideoEditWithPlayerActivity;->f:Landroid/widget/FrameLayout;

    const/4 v2, 0x1

    invoke-virtual {v0, p1, v1, v2}, Landroid/view/LayoutInflater;->inflate(ILandroid/view/ViewGroup;Z)Landroid/view/View;

    return-void
.end method

.method protected g(Z)V
    .locals 1

    .line 2
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/VideoEditWithPlayerActivity;->g:Landroid/widget/TextView;

    if-eqz v0, :cond_0

    .line 3
    invoke-virtual {v0, p1}, Landroid/widget/TextView;->setEnabled(Z)V

    :cond_0
    return-void
.end method

.method public h(I)V
    .locals 3

    .line 1
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/VideoEditWithPlayerActivity;->e:Landroid/widget/FrameLayout;

    invoke-virtual {v0}, Landroid/widget/FrameLayout;->removeAllViews()V

    .line 2
    invoke-static {p0}, Landroid/view/LayoutInflater;->from(Landroid/content/Context;)Landroid/view/LayoutInflater;

    move-result-object v0

    iget-object v1, p0, Lcom/esfile/screen/recorder/videos/edit/activities/VideoEditWithPlayerActivity;->e:Landroid/widget/FrameLayout;

    const/4 v2, 0x1

    invoke-virtual {v0, p1, v1, v2}, Landroid/view/LayoutInflater;->inflate(ILandroid/view/ViewGroup;Z)Landroid/view/View;

    return-void
.end method

.method protected i(I)V
    .locals 1

    .line 1
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/VideoEditWithPlayerActivity;->e:Landroid/widget/FrameLayout;

    if-eqz v0, :cond_0

    .line 2
    invoke-virtual {v0, p1}, Landroid/widget/FrameLayout;->setVisibility(I)V

    :cond_0
    return-void
.end method

.method public onBackPressed()V
    .locals 1

    .line 1
    invoke-virtual {p0}, Lcom/esfile/screen/recorder/videos/edit/activities/VideoEditWithPlayerActivity;->C()Z

    move-result v0

    if-eqz v0, :cond_0

    .line 2
    invoke-direct {p0}, Lcom/esfile/screen/recorder/videos/edit/activities/VideoEditWithPlayerActivity;->N()V

    goto :goto_0

    .line 3
    :cond_0
    invoke-super {p0}, Landroidx/activity/ComponentActivity;->onBackPressed()V

    :goto_0
    return-void
.end method

.method protected onCreate(Landroid/os/Bundle;)V
    .locals 0

    .line 1
    invoke-super {p0, p1}, Lcom/esfile/screen/recorder/base/BaseActivity;->onCreate(Landroid/os/Bundle;)V

    .line 2
    invoke-direct {p0}, Lcom/esfile/screen/recorder/videos/edit/activities/VideoEditWithPlayerActivity;->I()Z

    move-result p1

    if-nez p1, :cond_0

    .line 3
    sget p1, Les/z4;->durec_failed_to_edit_video:I

    invoke-static {p1}, Les/ec;->a(I)V

    .line 4
    invoke-virtual {p0}, Landroid/app/Activity;->finish()V

    return-void

    .line 5
    :cond_0
    sget p1, Les/y4;->durec_video_edit_with_player_activity:I

    invoke-virtual {p0, p1}, Landroidx/appcompat/app/AppCompatActivity;->setContentView(I)V

    .line 6
    invoke-direct {p0}, Lcom/esfile/screen/recorder/videos/edit/activities/VideoEditWithPlayerActivity;->L()V

    return-void
.end method

.method protected onDestroy()V
    .locals 1

    .line 1
    invoke-super {p0}, Lcom/esfile/screen/recorder/base/BaseActivity;->onDestroy()V

    .line 2
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/VideoEditWithPlayerActivity;->d:Lcom/esfile/screen/recorder/videos/edit/player/VideoEditPlayer;

    if-eqz v0, :cond_0

    .line 3
    invoke-virtual {v0}, Lcom/esfile/screen/recorder/videos/edit/player/c;->p()V

    .line 4
    :cond_0
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/VideoEditWithPlayerActivity;->j:Lcom/esfile/screen/recorder/videos/edit/activities/speed/b;

    invoke-virtual {v0}, Lcom/esfile/screen/recorder/videos/edit/activities/speed/b;->a()V

    return-void
.end method

.method protected onPause()V
    .locals 1

    .line 1
    invoke-super {p0}, Lcom/esfile/screen/recorder/base/BaseActivity;->onPause()V

    .line 2
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/VideoEditWithPlayerActivity;->d:Lcom/esfile/screen/recorder/videos/edit/player/VideoEditPlayer;

    if-eqz v0, :cond_0

    .line 3
    invoke-virtual {v0}, Lcom/esfile/screen/recorder/videos/edit/player/c;->getAllSectionProgress()I

    move-result v0

    iput v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/VideoEditWithPlayerActivity;->l:I

    .line 4
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/VideoEditWithPlayerActivity;->d:Lcom/esfile/screen/recorder/videos/edit/player/VideoEditPlayer;

    invoke-virtual {v0}, Lcom/esfile/screen/recorder/videos/edit/player/c;->p()V

    .line 5
    :cond_0
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/VideoEditWithPlayerActivity;->j:Lcom/esfile/screen/recorder/videos/edit/activities/speed/b;

    invoke-virtual {v0}, Lcom/esfile/screen/recorder/videos/edit/activities/speed/b;->a()V

    return-void
.end method

.method protected onResume()V
    .locals 2

    .line 1
    invoke-super {p0}, Lcom/esfile/screen/recorder/base/BaseActivity;->onResume()V

    .line 2
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/VideoEditWithPlayerActivity;->d:Lcom/esfile/screen/recorder/videos/edit/player/VideoEditPlayer;

    invoke-virtual {p0, v0}, Lcom/esfile/screen/recorder/videos/edit/activities/VideoEditWithPlayerActivity;->a(Lcom/esfile/screen/recorder/videos/edit/player/VideoEditPlayer;)V

    .line 3
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/VideoEditWithPlayerActivity;->d:Lcom/esfile/screen/recorder/videos/edit/player/VideoEditPlayer;

    invoke-static {}, Les/dd;->a()Les/cd;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/esfile/screen/recorder/videos/edit/player/c;->setVideoEditPlayerInfo(Les/cd;)V

    .line 4
    iget-boolean v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/VideoEditWithPlayerActivity;->k:Z

    if-eqz v0, :cond_0

    .line 5
    invoke-direct {p0}, Lcom/esfile/screen/recorder/videos/edit/activities/VideoEditWithPlayerActivity;->M()V

    const/4 v0, 0x0

    .line 6
    iput-boolean v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/VideoEditWithPlayerActivity;->k:Z

    goto :goto_0

    .line 7
    :cond_0
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/VideoEditWithPlayerActivity;->d:Lcom/esfile/screen/recorder/videos/edit/player/VideoEditPlayer;

    if-nez v0, :cond_1

    return-void

    .line 8
    :cond_1
    invoke-virtual {p0}, Lcom/esfile/screen/recorder/videos/edit/activities/VideoEditWithPlayerActivity;->D()Z

    move-result v0

    if-eqz v0, :cond_2

    .line 9
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/VideoEditWithPlayerActivity;->d:Lcom/esfile/screen/recorder/videos/edit/player/VideoEditPlayer;

    invoke-virtual {v0}, Lcom/esfile/screen/recorder/videos/edit/player/c;->n()V

    .line 10
    :cond_2
    invoke-virtual {p0}, Lcom/esfile/screen/recorder/videos/edit/activities/VideoEditWithPlayerActivity;->E()I

    move-result v0

    const/4 v1, 0x2

    if-ne v0, v1, :cond_3

    .line 11
    iget v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/VideoEditWithPlayerActivity;->l:I

    if-lez v0, :cond_4

    .line 12
    iget-object v1, p0, Lcom/esfile/screen/recorder/videos/edit/activities/VideoEditWithPlayerActivity;->d:Lcom/esfile/screen/recorder/videos/edit/player/VideoEditPlayer;

    invoke-virtual {v1, v0}, Lcom/esfile/screen/recorder/videos/edit/player/c;->d(I)V

    goto :goto_0

    .line 13
    :cond_3
    invoke-virtual {p0}, Lcom/esfile/screen/recorder/videos/edit/activities/VideoEditWithPlayerActivity;->E()I

    move-result v0

    const/4 v1, 0x1

    if-ne v0, v1, :cond_4

    .line 14
    invoke-direct {p0}, Lcom/esfile/screen/recorder/videos/edit/activities/VideoEditWithPlayerActivity;->O()V

    :cond_4
    :goto_0
    return-void
.end method

.method public setExtraContent(Landroid/view/View;)V
    .locals 1

    .line 1
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/VideoEditWithPlayerActivity;->f:Landroid/widget/FrameLayout;

    invoke-virtual {v0}, Landroid/widget/FrameLayout;->removeAllViews()V

    .line 2
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/VideoEditWithPlayerActivity;->f:Landroid/widget/FrameLayout;

    invoke-virtual {v0, p1}, Landroid/widget/FrameLayout;->addView(Landroid/view/View;)V

    return-void
.end method

.method public setToolContent(Landroid/view/View;)V
    .locals 1

    .line 1
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/VideoEditWithPlayerActivity;->e:Landroid/widget/FrameLayout;

    invoke-virtual {v0}, Landroid/widget/FrameLayout;->removeAllViews()V

    .line 2
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/VideoEditWithPlayerActivity;->e:Landroid/widget/FrameLayout;

    invoke-virtual {v0, p1}, Landroid/widget/FrameLayout;->addView(Landroid/view/View;)V

    return-void
.end method

.method public v()Ljava/lang/String;
    .locals 1

    .line 1
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/VideoEditWithPlayerActivity;->a:Ljava/lang/String;

    return-object v0
.end method

.method protected w()Landroid/view/ViewGroup;
    .locals 1

    .line 1
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/VideoEditWithPlayerActivity;->b:Landroid/view/ViewGroup;

    return-object v0
.end method

.method protected abstract x()I
.end method

.method protected abstract y()I
.end method

.method public z()Lcom/esfile/screen/recorder/videos/edit/player/VideoEditPlayer;
    .locals 1

    .line 1
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/VideoEditWithPlayerActivity;->d:Lcom/esfile/screen/recorder/videos/edit/player/VideoEditPlayer;

    return-object v0
.end method
